<!--
  @author yangjiangming
  @date 2018-12-10 20:40:28
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html th:replace="~{work/modify/common/layout :: layout('多工程师', ~{::title}, ~{::content}, ~{::script})}">
<head>
    <title>工单管理-多工程师</title>
</head>
<body>

<div th:fragment="content">
    <style>
        .layui-form-item .d-label {
            width: 50px;
        }

        .d-input {
            width: 190px;
        }

        .d-icon {
            font-size: 25px;
        }
        .d-width{
            width: 210px;
        }
    </style>
    <form action="/work/modify/save/mastersharing.action" class="layui-form">
        <input id="work-id" type="hidden" name="workId" th:value="${workId}"/>
        <input id="order-id" type="hidden" name="orderId" th:value="${orderId}"/>

        <div class="layui-input-block" style="margin-right: 40px">
            <h3>分润配置</h3>
        </div>
        <div class="layui-input-block masterdetail" style="margin-right: 40px">
            <table class="layui-table" id="masterdetail" lay-filter="masterdetail-table"></table>
        </div>
        <div class="layui-input-block" style="margin-right: 40px">
            <span>主从工程师分润比例相加之和必须等于：100%</span>
        </div>

        <div class="layui-form-item"  style="text-align: center;margin-top: 20px;">
            <div class="layui-inline">
                <input type="button" class="layui-btn layui-btn-normal" lay-submit lay-filter="save" value="保存"></input>
                <button class="layui-btn layui-btn-primary" lay-submit lay-filter="cancel">取消</button>
            </div>
        </div>
    </form>
</div>


<script th:inline="javascript">
    var masterList = [[${masterList}]];
    console.log(masterList);
    var layuiModel = {
        oms_work_modify_mastersharing: "work/modify/zmn.oms.work.modify.mastersharing"
    };
</script>
</body>
</html>